package com.waijiaojun.tpo.repository;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.waijiaojun.tpo.entity.OperationGuidePageMark;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface OperationGuidePageMarkDao {
    int insert(@Param("pojo") OperationGuidePageMark pojo);

    int insertSelective(@Param("pojo") OperationGuidePageMark pojo);

    int insertList(@Param("pojos") List<OperationGuidePageMark> pojo);

    int update(@Param("pojo") OperationGuidePageMark pojo);

    OperationGuidePageMark showMarkForUser(String openid);

    void insertForUser(@Param("openid")String openid,@Param("page_name")String page_name);
}
